#env /bin/bash

PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

set -e

if pidof openconnect >/dev/null; then
    echo "Check ok!"
    exit 0
fi

printf "049434\n11111111\nksyun\n" | sudo openconnect kvpn.ksyun.com --protocol=anyconnect --token-mode=rsa  -u zhangjiatong1
#echo "11"

